package com.cvs.controller;

import java.io.IOException;

import java.text.DateFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;

import java.util.ArrayList;
import java.util.Date;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.cvs.model.DaysEntity;
import com.cvs.model.EventsEntity;
import com.cvs.model.MandatoryEntity;
import com.cvs.model.UserEntity;

import com.cvs.security.SecurityUtilities;
import com.cvs.services.ChmService;

@Controller
public class AdminController {

	@Autowired
	private ChmService controllerService;

	public ChmService getControllerService() {
		return controllerService;
	}

	public void setControllerService(ChmService controllerService) {
		this.controllerService = controllerService;
	}

	@RequestMapping(value = "/admin", method = RequestMethod.GET)
	public ModelAndView getAdminPage() {

		String message = "admin";
		return new ModelAndView("admin", "messsage", message);
	}

	
}
